package com.systemic.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

import java.util.List;

/**
 * @ClassName: Email
 * @Description:
 * @Author:
 * @CreateTime: 2023-12-27 14:08
 * @Version:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Email {

    /**
     * 发送邮箱列表
     */
    @NotEmpty
    private List<String> tos;

    /**
     * 主题
     */
    @NotBlank
    private String subject;

    /**
     * 内容
     */
    @NotBlank
    private String content;
}
